博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
对联广告 的css
阅读量:7209 次
发布时间:2019-06-29

本文共 1191 字,大约阅读时间需要 3 分钟。

hot3.png

页面:

css:

.r1{width:100px;height:100px;background:red;float:right;        position:fixed !important; top/**/:200px;        position:absolute; z-index:300; top:expression(offsetParent.scrollTop+200);right:20px;}.r2{width:100px;height:100px;background:red;float:right;        position:fixed !important; top/**/:320px;        position:absolute; z-index:400; top:expression(offsetParent.scrollTop+300);right:20px;}.l1{width:100px;height:100px;background:red;float:right;        position:fixed !important; top/**/:200px;        position:absolute; z-index:300; top:expression(offsetParent.scrollTop+200);left:20px;}.l2{width:100px;height:100px;background:red;float:right;        position:fixed !important; top/**/:320px;        position:absolute; z-index:400; top:expression(offsetParent.scrollTop+300);left:20px;}

js:

function guanbiduilianguanggao(){document.getElementById('l1').style.display = 'none';document.getElementById('l2').style.display = 'none';document.getElementById('r1').style.display = 'none';document.getElementById('r2').style.display = 'none';}

效果:

转载于:https://my.oschina.net/wangt10/blog/508366

你可能感兴趣的文章
菜鸟学Linux 第103篇笔记 pxe自动化安装linux
查看>>
ftp服务搭建
查看>>
使用普通用户启动tomcat
查看>>
记录与linux的每次邂逅__小白关于mysql脚本安装事前事后的一点感想-2
查看>>
Ubuntu tripwire 配置安装
查看>>
log_bin_trust_function_creators变量解释
查看>>
JVM -verbose参数详解
查看>>
Greenlet 详解
查看>>
干货 | Rancher Managed Network实践
查看>>
Maven
查看>>
网络通讯控件PowerSNMP for .NET常见问题合集
查看>>
【持久化框架】Mybatis与Hibernate的详细对比
查看>>
Facebook发布的黑科技:用大脑直接“打字”
查看>>
浅析mybatis源码(三)Mapper
查看>>
Dockerfile 指令详解
查看>>
vmware workstation 设置efi启动方法
查看>>
事物 视图 索引
查看>>
不要认为学PHP就不需要学C语言
查看>>
两数之和-LeetCode
查看>>
多线程
查看>>